package com.bizmerce.rnd.oms.decision.data;

import java.util.ArrayList;
import java.util.List;

/**
 * 중간재: 업체저에서 지정한 중간재
 * @author Gyeseon
 *
 */
public class IntermediateMaterial extends RawMaterial {

	List<RawMaterial> rawMaterials;

	public List<RawMaterial> getRawMaterials() {
		return rawMaterials;
	}

	public void setRawMaterials(List<RawMaterial> rawMaterials) {
		this.rawMaterials = rawMaterials;
	}
	
	public void addRawMaterial(RawMaterial rawMaterial) {
		if(rawMaterial == null) {
			rawMaterials = new ArrayList<RawMaterial>();
		}
		rawMaterials.add(rawMaterial);
	}
}
